package com.beauty.dressing.module.market.presenter.contract;

import com.beauty.dressing.common.bean.LeaseItemDetail;
import com.beauty.dressing.common.bean.LeaseOrderResp;

/**
 * Created by aaa on 2018/5/18.
 */

public interface LeaseDetailContract {
    /**
     * 界面回调逻辑
     */
    interface ViewControl {
        void onLeaseDetail(boolean isSuccess, int code, String message, LeaseItemDetail data); //

        void onLeaseOrder(boolean isSuccess, int code, String message, LeaseOrderResp data); //

    }

    /**
     * 界面调用请求的逻辑
     */
    interface Presenter {
        void getLeaseDetail(long sales_id);

        void createLeaseOrder(long memberId, long leaseId);

    }
}
